<div class="modal-content" ng-controller="newSystemCtrl">
    <div class="modal-header">
        <button type="button" class="close" ng-click="myopen.opt_close()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
        <h3 class="modal-title text-center">
            <samll>新增系统用户</samll>
        </h3>
    </div>
    <form class="form-horizontal ng-pristine ng-valid ng-scope">
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*用户名：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="inputEmail3" placeholder="用户名" maxlength="150" ng-model="user_opt.username">

            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*角色：</label>
            <div class="col-sm-9">
                <label>
                    <select class="form-control  " title="系统管理员"  ng-model="user_opt.role" ng-options="i.name as i.val for i in role"></select>
                </label>
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*电话：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="inputEmail3" placeholder="电话" maxlength="150" ng-model="user_opt.mobile">

            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*邮箱：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="inputEmail3" placeholder="邮箱" maxlength="150" ng-model="user_opt.email">
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*描述：</label>
            <div class="col-sm-9">
                <textarea placeholder="用户描述" class="form-control" id="textarea01" maxlength="2000" ng-model="user_opt.desc"></textarea>
            </div>
        </div>
        <div class="row">
            <div class="button-wrapper ng-scope">
                <button type="button" class="btn btn-default btn-raised" ng-click="myopen.opt_close()">取消</button>
                <button type="button" class="btn btn-info btn-raised" ng-click="add_user()">保存</button>
            </div>
        </div>
    </form>
</div>